package com.project.mapper;

import com.project.bean.LogUserBean;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

public interface LogMapper {

    /**
     * 按日期查询日志信息
     */
    public List<LogUserBean> findByItem(@Param("start") LocalDate start, @Param("end")LocalDate end);

    /**
     * 登陆成功添加日志
     * @param logUser
     */
    public void addLog(LogUserBean logUser);
}
